export default {
  exclude: 'node_modules/**', // 只编译我们的源代码
  presets: [[
    '@babel/preset-env',
    {
      'modules': false,
      'targets': {
        'browsers': [
          '> 0%',
          'safari >= 7',
          'ie >= 8'
        ]
      }
    }
  ]],
  runtimeHelpers: true,
  plugins: [
    ['@babel/plugin-transform-runtime'],
    '@babel/plugin-transform-object-assign'
  ]
}
